package com.qf.mapper;

import com.qf.entity.TAcountRecord;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/*
杨威
2021/10/30
15:04
*/
public interface AcountRecordMapper {
    @Select("select * from t_acount_record")
    List<TAcountRecord> findAll();
    @Insert("insert into t_acount_record (orderid,clientId,paidValue,createTime,payTime,paymentId,paymentOrder,paymentInfo)values(#{orderid},#{clientId},#{paidValue},#{createTime},#{payTime},#{paymentId},#{paymentOrder},#{paymentInfo})")
    int insertAcountRecord(TAcountRecord tAcountRecord);
    @Delete("delete from t_acount_record where id=#{id}")
    int deleteAcountRecord(Long id);
}
